home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
filesyst
/
dosfs
/
msdos-sy.00
/
msdos-sy
/
msdos-sys-1.00
/
dossys
next >
Wrap
Text File
|
1995-12-10
|
433b
|
14 lines
#!/bin/sh
umask 133
export PATH=/bin:/usr/bin:/home/public/utils:/sbin
if test -z $ITRAN; then
export ITRAN=set
exec setuid root /home/root 0 0 /bin/bash /home/public/utils/dossys $1
fi
dd if=/usr/msdossys/bootsector of=$1 2>/dev/null >/dev/null
mkdir /tmp/tmpmount
mount -t msdos $1 /tmp/tmpmount
cp /usr/msdossys/io.sys /usr/msdossys/msdos.sys /usr/msdossys/command.com /tmp/tmpmount
umount /tmp/tmpmount
rmdir /tmp/tmpmount